import IForgotPasswordByPhoneForm from '@/model/form/user/IForgotPasswordByPhoneForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 重置密码：通过手机验证码
export default function forgotPasswordPhoneApi(
  form: IForgotPasswordByPhoneForm
) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IForgotPasswordByPhoneForm>(
    '/forgotPassword/phone',
    form
  )
}
